package com.lebang.medicalInquiry.model.chat;


import com.alibaba.fastjson.annotation.JSONField;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@Builder
public class ChatRequest implements Serializable {

    private List<Message> messages;

    @JSONField(name = "max_tokens")
    private Integer maxTokens;

    private Double temperature;


    private String function_call ;


    @JSONField(name = "frequency_penalty")
    private Integer frequencyPenalty;


    @JSONField(name = "presence_penalty")
    private Integer presencePenalty;


    @JSONField(name = "top_p")
    private Double topP;


    private List<String> stop;


    private Boolean stream;

    private List<FunctionRequest> functions;


}
